<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" :title="mixinEdit_editTitle" width="800px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">
            <el-form-item label="联系人" prop="name" :rules="{ required: true, message: '联系人 不能为空'}">
                <el-input v-model="form.name" maxlength="10" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="联系电话" prop="mobile"
                :rules="[{trigger: ['blur', 'change'] , required:true,validator: $vFN.Tools.validatePhone}]">
                <el-input v-model="form.mobile" maxlength="11" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="所在地区" prop="province"
                :rules="{ trigger: ['blur', 'change'] ,required: true, message: '请选择 所在地区'}">
                <SelectAddress :appWindow="appWindow" :value="form"
                    :apiConfig="$vFN.Tools.getAppGlobalData('componentsApiConfig.SelectDataGoods', appWindow)">
                </SelectAddress>

            </el-form-item>
            <el-form-item label="详细地址" prop="detailAddress" :rules="{ required: true, message: '详细地址 不能为空'}">
                <el-input v-model="form.detailAddress" autosize type="textarea" maxlength="60"></el-input>
            </el-form-item>

            <el-form-item label="默认收货" prop="isReceive" :rules="{ required: true, message: '请选择'}">
                <el-radio-group v-model="form.isReceive">
                    <el-radio :label="0">否</el-radio>
                    <el-radio :label="1">是</el-radio>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="默认发货" prop="isSend" :rules="{ required: true, message: '请选择'}">
                <el-radio-group v-model="form.isSend">
                    <el-radio :label="0">否</el-radio>
                    <el-radio :label="1">是</el-radio>
                </el-radio-group>
            </el-form-item>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="24">
                <el-button :disabled="mixinEdit_loading" @click="mixinEdit_editBoxClose('editForm')">取 消</el-button>
                <el-button :disabled="mixinEdit_loading" type="primary"
                    @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})">确
                    定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>